<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<title>店铺明细列表详情</title>
		<link rel="stylesheet" href="../css/common/mui.css" />
		<link rel="stylesheet" href="../css/common/common.css" />
		<link rel="stylesheet" href="../css/this/shop.css" />
	</head>
	<body>
		<div class='theFirst'></div>
		<div class='mT7 shop-list  reco'>	</div>
		<script type='text/template' id='tpl-shop-list'>
			<div class='bGWhite  bT bB lH75 oF pL18 pR18 head'>
				<div class='fl avatar'>
					<img src="{{list.logo}}" class='vm bR50 pSR' />
					<span class='fS15 cBlack'>{{list.name}}</span>
				</div>
				<div class='fr view tR fS15 cRed'>
					{{if list.status == 0}}取消订单
					{{else if list.status == 1}}待付款
					{{else if list.status == 2}}待发货
					{{else if list.status == 3}}待收货
					{{else if list.status == 4}}已完成
					{{/if}}
				</div>
			</div>
			<section class='detail-product'>
				{{each list.product_list as listin}}
				<div class='mui-row' data-id='{{listin.product_id}}'>
					<div class='mui-col-xs-3 pT17 pB17 pL19'>
						<img src="{{listin.pic}}" class='w vm b'/>
					</div>
					<div class='mui-col-xs-9 pB20 pL15 pT17'>
						<h2 class=' fS15 pR18 title fWN'>{{listin.product_name}}</h2>
						<p class='cGrey fS13'>规格： {{listin.spec}}</p>
						<div class='mui-row pR18'>
							<div class='mui-col-xs-10'>
								<p class='fS13 cBlack pT5'>成交价 ：&yen;{{listin.price}}</p>		
							</div>
							<div class='mui-col-xs-2 tR cRed fS15'>{{listin.num}}</div>
						</div>		
					</div>
				</div>
				<div class='pB7 bGWhite'></div>
				{{/each}}
		    </section>
		    <div class='pL18 pT17 pB17 bB bGWhite' >
				<p class='fS15 cBlack'>订单编号 ： {{list.order_id}}</p>
				<p class='fS15 pT9 cBlack'>下单时间 ：{{list.create_time}}</p>
		    </div>
		    <section class='pT17 pB17 pL18 pR18 bGWhite'>
		    	<div class='oF fS15 pB9'>
		    		<p class='cBlack fS15 fl'>商品总额 ：</p>
		    		<div class='fr'>+&nbsp;{{if !list.cost}}0 {{else}} &yen; {{list.cost}}{{/if}}</div>	
		    	</div>
		    	<div class='oF fS15 pB9'>
		    		<p class='cBlack fS15 fl'>物流运费 ：</p>
		    		<div class='fr'>+&nbsp;{{if !list.freight}}0{{else}} &yen; {{list.freight}}{{/if}}</div>	
		    	</div>
		    	<div class='oF fS15 pB9'>
		    		<p class='cBlack fS15 fl'>跨境税费 ：</p>
		    		<div class='fr'>+&nbsp;{{if !list.tax_price}}0{{else}} &yen; {{list.tax_price}}{{/if}}</div>	
		    	</div>
		    	<div class='oF fS15 pB9'>
		    		<p class='cBlack fS15 fl'>使用余额 ：</p>
		    		<div class='fr'>+&nbsp;{{if !list.cash_price}}0{{else}} &yen; {{list.cash_price}}{{/if}}</div>	
		    	</div>
		    	<div class='oF fS15 pB9'>
		    		<p class='cBlack  fS15 fl'>使用优惠券 ：</p>
		    		<div class='fr'>+&nbsp; {{if !list.cpns_price}}0{{else}}&yen; {{list.cpns_price}}{{/if}}</div>	
		    	</div>
		    	<div class='oF fS15'>
		    		<p class='cBlack fS15 fl'>支付金额 ：</p>
		    		<div class='fr'>+&nbsp; {{if !list.pay_price}}0{{else}}&yen;{{list.pay_price}}{{/if}}</div>	
		    	</div>
			 </section>
			<div class='tC pB10 bGWhite'>
				{{if list.status == 3 || list.status ==4}}<button class='w91 btn btn-black lH45 fS15 wuliu' data-id='{{list.order_id}}'>查看物流</button>{{/if}}	
			</div>
		</script>
	</body>
		<script src='../js/common/jquery.min.js'></script>
		<script src="../js/common/template.js"></script>
		<script src='../js/common/api.js'></script>
		<script src='../js/common/loading.js'></script>
		<script src="../js/common/app.js"></script> 
		<script src='../layer/layer.js'></script>
		<script src='../js/common/header.js'></script>
		<script src='../js/common/footer.js'></script>
		<script src='shop.profiting.detail.js'></script>
</html>
